Making register form

Follow this post to get accurate debug information