Added user object to obtain username

The user object instance was not in else option.
Merge pull request #6 from ewokcillo/patch-1

Added user object to obtain username