update versions
remove redundant self
Use `fail` instead of `raise` to signal exceptions.
Prefer map over collect.
add space after { and before }

may need to do something else with squeel syntax
initial refactoring of avatar_url to reduce complexity
having issues with protect_from_forgery. comment out for now