Modified commands to my liking and added support for storing session token for later use
Fix home directory discovery and some indentation errors