changing signup functionality