Implement frontend routing