fix json answer, add page for manager log in