create signup and signout method