Finished signup function