add spec for request_to_join
refactor request_to_join method
add spec fro delete_request method
refactor delete_request method