user registration and login, associates logged in users with a created token, sends token to client. Next step is having the client store the token and send token with info sent to server