added admin devise and other fixes too
converted layout to haml and js is normalized