More work

Managed to get Student functions working along with authenticaion