Added signin and signout method