add devise. make posts only for logged in user. add link for login and sign out. add tests