implementing the user and session controllers "
user registration works