adds functionality where clicking login takes user to student page