Updates for session and validation

Went through how to display session data and created a function to show
a message. Also started adding form validation to the create subject
page