chsignin and signout functionality now working