Fix for adding new user to database