Cleaned up pins controller and views