Implemented adding user to DB.