Started working on the grades page

and cleaned up any bugs i noticed on the login page.