made login functional from all pages and altered css