Connect database to ember front, add vote counts to posts template