removed redundant logging
fixed bug in sso