users now properly getting added to database