***CODE DOESN'T WORK YET*** trying to get the db stuff for snapchat working