move login form to the top, alwats redirect logout to root_path