Added some code.
* Can fetch hostname.
* Can fetch logged in user.