Added login cancellation