User login/logout now works. Only allows logged in user to add, edit, and delete posts
added userById to users class