velocity template for page

1.add velocity template.
2.modified the id from Long to String.
3.Add the menus for Session.