complete signup functionality