Template Spring security web application