Added optional size parameter for the gravatar. Some tests for the error messages on signup. Cleaner code for the flash error.