Fix typo in render_template
Add simple template for user pages
Add a profile link to the index page
Add an avatar method to the user model