fixed some css for the menu
sidebar should open automatically to the section for the content
changed how the sidebar was rendered to allow for more complex layouts
login and register routes should only be accessible if the user isn't logged in
moved error handling out of the main application
fixed error handling and added better feedback for login and register