Development and application of spin dependent van der Waals density functional method