signup form, view, test code & some modification about validation

I added signup functions to our web page '/signup/'.