Login, sidebar fix, main page stuff