redirection ensure_user, error flashes