Update gitignore to ignore secret token
Return server response as JSON instead of plaintext