Added basic method session to servlet

Added a basic method in the main servlet to increment a value every time
a session is created