created api for user signup, signin and signout