Changed views and pins controller