adding respond_to formats; modifying gitignore