fiddling with alerts for login