failed login alerts; refactor redirect_to arrays