Fixed a few problems with the tutor log in