fixes for rails4 and a few new views
removed temp