added action to logout button, login with google/facebook work completly now, if database has a 'No Index Error', just run resetdb ('/resetdb' in browser)