adding preMethod and request
removing whitespace
adding "addrole" method to Member
adding isEmpty method and trimming whitespace
adding check for _preMethod and trimming whitespace