Added check session to all user functions