Trying to fix the auto login