Fixed isauthenticated -> is_authenticated in views