Create public and Register controller