add user into books and reouseces
modify devise and cancan
Allow users to sign in using their name or email address
add validate in user
add rspec for ability
add some rspec in controller