Adding a weird check..
Adding some error handling to session
Changing to multipart form post