cleaned up pins controller and views