Added check if user is already logged in.