Adding the functionality of adding the user to database