startd building location loading api on both client and server