removed content disposition from response headers
changed title
refactored