tests for User.class and added feedback about login failure reasons