add register controller code
Merge pull request #4 from phuongnq/master

add register controller code