updated promises example
updated example, removed username requirement for logging out
updated run doc