forcing login to view the posts submit form and submit posts