install Devise and add sign in
add sign out, sign in with existing user and authors to posts