Converting authorization pages to modals

Authorization pages were set up originally as seperate pages altogether,
but this commit changes that making them no just in page modals.
This was done because it made more sense with the rest of the page's
SPA nature.
Fine tuned gallery page styles and tidied up related code