added compose activity + post method in the client