pins displaying and email_id ref working but getting 500 IS errors