created register function and view for users to sign up an account in the system.
closed #67