creating user identification module using Spring