updated login documentation
added logout method