use session to pass on error messages
added 'error' partial to alert section