added rating to frontend
added transaction logging