get location & profile routes working