library login form fixes