session controller with login
added helper methods for session handling
added professors controller