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

  	root :to => 'sessions#new'

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