added helper for server request and made tasks for requests