Changed functionality for if a user session already exists.