Add opening of login page on detection