changed controller used for session