change client to public in route