reorganized dashboard and login calls