fix index and login form