Trying to fix single sign on