created user object in the join method of GroupResource class
generated user token in User class