worked on events frontend

added picture and logic to the page, also added simple logic in the
backend