create a method for sendReq that takes a user
reformated the file using idea