finish signup function