refactor getUser
add token check
Refactor putIntoGroup
refactor group methods
refactor send image
refactor image upload & delete