prompts and login and record works