Patch authentication and UI bug fixes