troubleshooting sign_in method