fixed signup form - works with database