simplified reporting functionality. Added a check for user's participation in lottery. If user participates then the report is sent automatically
Adding some test code to check lottery conditions