add navbar, resolve name and password errors