added documentation for user object
removed unnecessary function declaration
added documentation for user and group objects