Brain Fried, hope I read the desc tomorrow

Code added to the login method needs to be moved to the register method.
Adds a student ID on registering.