added write servlet
added curent time in action servlet