Refactoring cleaning sessions in the DB to the terminate method in goethe.  Also, cleaned up some in auth