applied alert services for login to check for login credentials