implemented basic sign up functionality