implement signup, signin and signout end-points, fixes #61, #62, #63