added firebase binding
added detail view for posts