Backend cleanup

I removed unused HTML views, duplicate devise views, duplicate application layouts, some unused code and some deprecated specs.