change routing from public to app