add partials, update layouts, debug login errors