created json view for leads to test this
added routes
now returns user_id on new sessions and registrations