Adds user authentication to new post view