cannot create user with already existing username, null pointer exception validation