remove localost from frontend code