Added a function to Login to determine if a user is currently logged in or not - renamed LoginFactory to Login.