added login prompt