Refs #146 | Rename user function to getUser and add user function which will be deprecated later

Refs #146 | Fix error

Refs #146 | Function must be called within the context of an object