added user signin and singout methods