cleanup and renders settings.html. also added **kwargs argument to render_template() for passing variables to the template being rendered
tabs->spaces
Mostly comments and cleanup
Added a traversal to find a user's Identities. These are now displayed
on the settings page /settings
some housekeeping and fixed a couple bugs