Xmpp::Application.routes.draw do
	resources :sessions, only: [:create, :destroy]

  	root :to => 'sessions#new'

	match '/signin',  to: 'sessions#new'
	match '/signout', to: 'sessions#destroy', via: :delete
end