refactored styling, added generic header/container for pages, redirect routes for login, handled login errors'