Storing user in db