refactor error messges at signup, modify gravatar_for helper, add tests