Added doctrine migrations / account links / analyitics code