settings page working auto login