Added comments, refactored views, fixed omniauth