Fixed a minor bug on user in session