fixed GH #21 Registration form not working