fixed admin getting wrongly set when updating user, fixed login crash when no data passed