Added comment to explain url formatting on logout.
Changed submission error handling to animation instead of just class, added green flashing for successful submit.