methods for login and captchas