fixed bug of wrong controller action on session start