added simple session management (login/logout), student registration