Fixed bug in articles controller when user is not logged in