Login functionality using Struts2 frame work