Implemented basic login via a prompt()