removed respond_to do block as only html reponse is used