added  authentication and upgraded to spring 3.2 <Praveen>