changed welcome file to getposts in web.xml

overid to string method in user