implemented user signup functionality