ch 8: login + registration
ch 8: authenticate for new posts