addresses issue #21 creates session var and redirects to chat#index