Added better error handling for Active sessions (to handle cases where the user submits a non existing session ID)
Added error handling for User login
Couple fixes for when running in IIS