Storing the user id and email after registration as well for user session.