fixed new user addition issue + saving user to database issue