add login
extracted admin header and nav into a base admin template