Adds token to session storage #21
Adds check if user is authenticated  #21

Checks for next route public property and acts
  - if page isn't public and user isn't logged in,
    redirects to login page
  - if page is public and user is logged in, redirects
    to home page