How to create user registration form in c