force_login method added