User Session management fixed