fixed modal hide bug, duplicate username, library ui, not logged in bug