Removed auto_login helper method