Added user roles. Can now access role (Professor or TeachingAssistant) from session[:user_type]. Also, change session[:user_id] to session[:user_id] for readability.