Fix a Nullpointer issue with gender in User.java