Need to call this when logging in.