Split execute function into multiple functions
Move password interaction to interact function