Corrected path to root and added handler for admin