adjusting pins controller to reflect tutorial
rakin database