auth::login now generates a 500 on db insertion failure auth::login returning single json value instead of full struct