added login page support